<h2 class="contentTitle">编辑宝贝分类</h2>
<form action="<?php echo site_url('/public/aj_edit_baobeitype.php');?>" method="post" class="pageForm required-validate" onsubmit="return validateCallback(this, dialogAjaxDone)">
<div class="pageContent">
	<div class="pageFormContent" layoutH="97">
        <div class="unit">
            <label>宝贝分类名：</label>
            <input type="text" name="type_name" size="25" class="required textInput valid" value="<?php echo $type_info['type_name'];?>">
            <input type="hidden" name="type_id" value="<?php echo $type_info['type_id'];?>" class="required valid"/>
            <span class="inputInfo">填写分类名称</span>
		</div>
        <div class="unit">
            <label>宝贝所属分类：</label>
            <input name="parent_type_id" type="hidden" value="<?php echo $type_info['parent_type_id'];?>"/>
            <input type="text" name="parent_type_name" size="25" class="textInput" value="<?php echo $parent_type_info['type_name'];?>" readonly=""/>
            <span class="inputInfo">暂时不支持更新宝贝分类</span>
		</div>
        <div class="unit">
            <label>宝贝是否显示：</label>
            <select class="combox" name="is_show">
                <option value="0" <?php if($type_info['is_show'] == 0) echo 'selected=""';?>>否</option>
                <option value="1" <?php if($type_info['is_show'] == 1) echo 'selected=""';?>>是</option>
            </select>
            <span class="inputInfo">是否显示入库宝贝可选分类</span>
		</div>
	</div>
	<div class="formBar">
		<ul>
			<li><div class="buttonActive"><div class="buttonContent"><button type="submit">确认</button></div></div></li>
			<li><div class="button"><div class="buttonContent"><button class="close" type="button">关闭</button></div></div></li>
		</ul>
	</div>
</div>
</form>